package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 作物种植面积对象 bus_yjhz_crop_area
 * 
 * @author ruoyi
 * @date 2023-07-30
 */
public class BusYjhzCropArea extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 谷子 */
    @Excel(name = "谷子")
    private Long millet;

    /** 玉米 */
    @Excel(name = "玉米")
    private Long corn;

    /** 旱稻 */
    @Excel(name = "旱稻")
    private Long uplandRice;

    /** 高粱 */
    @Excel(name = "高粱")
    private Long sorghum;

    /** 马铃薯 */
    @Excel(name = "马铃薯")
    private Long potato;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMillet(Long millet) 
    {
        this.millet = millet;
    }

    public Long getMillet() 
    {
        return millet;
    }
    public void setCorn(Long corn) 
    {
        this.corn = corn;
    }

    public Long getCorn() 
    {
        return corn;
    }
    public void setUplandRice(Long uplandRice) 
    {
        this.uplandRice = uplandRice;
    }

    public Long getUplandRice() 
    {
        return uplandRice;
    }
    public void setSorghum(Long sorghum) 
    {
        this.sorghum = sorghum;
    }

    public Long getSorghum() 
    {
        return sorghum;
    }
    public void setPotato(Long potato) 
    {
        this.potato = potato;
    }

    public Long getPotato() 
    {
        return potato;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("millet", getMillet())
            .append("corn", getCorn())
            .append("uplandRice", getUplandRice())
            .append("sorghum", getSorghum())
            .append("potato", getPotato())
            .toString();
    }
}
